\hypertarget{classstrange_1_1extensions_1_1injector_1_1impl_1_1_injection_binding}{\section{strange.\-extensions.\-injector.\-impl.\-Injection\-Binding Class Reference}
\label{classstrange_1_1extensions_1_1injector_1_1impl_1_1_injection_binding}\index{strange.\-extensions.\-injector.\-impl.\-Injection\-Binding@{strange.\-extensions.\-injector.\-impl.\-Injection\-Binding}}
}


The Binding for Injections.  


Inheritance diagram for strange.\-extensions.\-injector.\-impl.\-Injection\-Binding\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.896552cm]{classstrange_1_1extensions_1_1injector_1_1impl_1_1_injection_binding}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classstrange_1_1extensions_1_1injector_1_1impl_1_1_injection_binding_ac7cd5da2e7c65f4e60dddc4adeb76aa3}{{\bfseries Injection\-Binding} (Binder.\-Binding\-Resolver resolver)}\label{classstrange_1_1extensions_1_1injector_1_1impl_1_1_injection_binding_ac7cd5da2e7c65f4e60dddc4adeb76aa3}

\item 
\hypertarget{classstrange_1_1extensions_1_1injector_1_1impl_1_1_injection_binding_a03d3a22f0e3cad47d20c337d7a5aa224}{\hyperlink{interfacestrange_1_1extensions_1_1injector_1_1api_1_1_i_injection_binding}{I\-Injection\-Binding} \hyperlink{classstrange_1_1extensions_1_1injector_1_1impl_1_1_injection_binding_a03d3a22f0e3cad47d20c337d7a5aa224}{To\-Inject} (bool value)}\label{classstrange_1_1extensions_1_1injector_1_1impl_1_1_injection_binding_a03d3a22f0e3cad47d20c337d7a5aa224}

\begin{DoxyCompactList}\small\item\em Boolean setter to optionally override injection. If false, the instance will not be injected after instantiation. \end{DoxyCompactList}\item 
\hypertarget{classstrange_1_1extensions_1_1injector_1_1impl_1_1_injection_binding_a0e91d1685d6518e622468bf26e55cd02}{\hyperlink{interfacestrange_1_1extensions_1_1injector_1_1api_1_1_i_injection_binding}{I\-Injection\-Binding} \hyperlink{classstrange_1_1extensions_1_1injector_1_1impl_1_1_injection_binding_a0e91d1685d6518e622468bf26e55cd02}{To\-Singleton} ()}\label{classstrange_1_1extensions_1_1injector_1_1impl_1_1_injection_binding_a0e91d1685d6518e622468bf26e55cd02}

\begin{DoxyCompactList}\small\item\em Map the Binding to a Singleton so that every {\ttfamily Get\-Instance()} on the Binder Key returns the same imstance. \end{DoxyCompactList}\item 
\hypertarget{classstrange_1_1extensions_1_1injector_1_1impl_1_1_injection_binding_a2d5492d1aec7dc4b48f5670e4eb35bde}{\hyperlink{interfacestrange_1_1extensions_1_1injector_1_1api_1_1_i_injection_binding}{I\-Injection\-Binding} \hyperlink{classstrange_1_1extensions_1_1injector_1_1impl_1_1_injection_binding_a2d5492d1aec7dc4b48f5670e4eb35bde}{To\-Value} (object o)}\label{classstrange_1_1extensions_1_1injector_1_1impl_1_1_injection_binding_a2d5492d1aec7dc4b48f5670e4eb35bde}

\begin{DoxyCompactList}\small\item\em Map the Binding to a stated instance so that every {\ttfamily Get\-Instance()} on the Binder Key returns the provided imstance. Sets type to Value. \end{DoxyCompactList}\item 
\hypertarget{classstrange_1_1extensions_1_1injector_1_1impl_1_1_injection_binding_ad97ebc39c7c92c529732ee4f36ed6684}{\hyperlink{interfacestrange_1_1extensions_1_1injector_1_1api_1_1_i_injection_binding}{I\-Injection\-Binding} \hyperlink{classstrange_1_1extensions_1_1injector_1_1impl_1_1_injection_binding_ad97ebc39c7c92c529732ee4f36ed6684}{Set\-Value} (object o)}\label{classstrange_1_1extensions_1_1injector_1_1impl_1_1_injection_binding_ad97ebc39c7c92c529732ee4f36ed6684}

\begin{DoxyCompactList}\small\item\em Map the Binding to a stated instance so that every {\ttfamily Get\-Instance()} on the Binder Key returns the provided imstance. Does not set type. \end{DoxyCompactList}\item 
\hypertarget{classstrange_1_1extensions_1_1injector_1_1impl_1_1_injection_binding_abd9f222c9ad96768dd1cd9ce76d31f7b}{\hyperlink{interfacestrange_1_1extensions_1_1injector_1_1api_1_1_i_injection_binding}{I\-Injection\-Binding} \hyperlink{classstrange_1_1extensions_1_1injector_1_1impl_1_1_injection_binding_abd9f222c9ad96768dd1cd9ce76d31f7b}{Cross\-Context} ()}\label{classstrange_1_1extensions_1_1injector_1_1impl_1_1_injection_binding_abd9f222c9ad96768dd1cd9ce76d31f7b}

\begin{DoxyCompactList}\small\item\em Map the binding and give access to all contexts in hierarchy. \end{DoxyCompactList}\item 
\hypertarget{classstrange_1_1extensions_1_1injector_1_1impl_1_1_injection_binding_a3a9d05cf30a577586d33a5722c277b54}{new \hyperlink{interfacestrange_1_1extensions_1_1injector_1_1api_1_1_i_injection_binding}{I\-Injection\-Binding} \hyperlink{classstrange_1_1extensions_1_1injector_1_1impl_1_1_injection_binding_a3a9d05cf30a577586d33a5722c277b54}{Bind$<$ T $>$} ()}\label{classstrange_1_1extensions_1_1injector_1_1impl_1_1_injection_binding_a3a9d05cf30a577586d33a5722c277b54}

\begin{DoxyCompactList}\small\item\em Bind is the same as Key, but permits Binder syntax\-: {\ttfamily Bind$<$T$>$().Bind$<$T$>$()} \end{DoxyCompactList}\item 
\hypertarget{classstrange_1_1extensions_1_1injector_1_1impl_1_1_injection_binding_ab4624a41fa035cab5fea7e983e5b11a5}{new \hyperlink{interfacestrange_1_1extensions_1_1injector_1_1api_1_1_i_injection_binding}{I\-Injection\-Binding} \hyperlink{classstrange_1_1extensions_1_1injector_1_1impl_1_1_injection_binding_ab4624a41fa035cab5fea7e983e5b11a5}{Bind} (object key)}\label{classstrange_1_1extensions_1_1injector_1_1impl_1_1_injection_binding_ab4624a41fa035cab5fea7e983e5b11a5}

\begin{DoxyCompactList}\small\item\em Bind is the same as Key, but permits Binder syntax\-: {\ttfamily Bind$<$T$>$().Bind$<$T$>$()} \end{DoxyCompactList}\item 
\hypertarget{classstrange_1_1extensions_1_1injector_1_1impl_1_1_injection_binding_a5c1d315334796d4ec9991504634e6598}{new \hyperlink{interfacestrange_1_1extensions_1_1injector_1_1api_1_1_i_injection_binding}{I\-Injection\-Binding} \hyperlink{classstrange_1_1extensions_1_1injector_1_1impl_1_1_injection_binding_a5c1d315334796d4ec9991504634e6598}{To$<$ T $>$} ()}\label{classstrange_1_1extensions_1_1injector_1_1impl_1_1_injection_binding_a5c1d315334796d4ec9991504634e6598}

\begin{DoxyCompactList}\small\item\em Set the Binding's value to a Type. \end{DoxyCompactList}\item 
\hypertarget{classstrange_1_1extensions_1_1injector_1_1impl_1_1_injection_binding_a010293da2e6b1fda3ad01f384a8c006f}{new \hyperlink{interfacestrange_1_1extensions_1_1injector_1_1api_1_1_i_injection_binding}{I\-Injection\-Binding} \hyperlink{classstrange_1_1extensions_1_1injector_1_1impl_1_1_injection_binding_a010293da2e6b1fda3ad01f384a8c006f}{To} (object o)}\label{classstrange_1_1extensions_1_1injector_1_1impl_1_1_injection_binding_a010293da2e6b1fda3ad01f384a8c006f}

\begin{DoxyCompactList}\small\item\em Set the Binding's value to a value, such as a string or class instance. \end{DoxyCompactList}\item 
\hypertarget{classstrange_1_1extensions_1_1injector_1_1impl_1_1_injection_binding_a3c638883ca8c1ac4349300b3922fe68d}{new \hyperlink{interfacestrange_1_1extensions_1_1injector_1_1api_1_1_i_injection_binding}{I\-Injection\-Binding} \hyperlink{classstrange_1_1extensions_1_1injector_1_1impl_1_1_injection_binding_a3c638883ca8c1ac4349300b3922fe68d}{To\-Name$<$ T $>$} ()}\label{classstrange_1_1extensions_1_1injector_1_1impl_1_1_injection_binding_a3c638883ca8c1ac4349300b3922fe68d}

\begin{DoxyCompactList}\small\item\em Qualify a binding using a marker type. \end{DoxyCompactList}\item 
\hypertarget{classstrange_1_1extensions_1_1injector_1_1impl_1_1_injection_binding_aa654625f7a7552559301ad8212f07f3c}{new \hyperlink{interfacestrange_1_1extensions_1_1injector_1_1api_1_1_i_injection_binding}{I\-Injection\-Binding} \hyperlink{classstrange_1_1extensions_1_1injector_1_1impl_1_1_injection_binding_aa654625f7a7552559301ad8212f07f3c}{To\-Name} (object o)}\label{classstrange_1_1extensions_1_1injector_1_1impl_1_1_injection_binding_aa654625f7a7552559301ad8212f07f3c}

\begin{DoxyCompactList}\small\item\em Qualify a binding using a value, such as a string or class instance. \end{DoxyCompactList}\item 
\hypertarget{classstrange_1_1extensions_1_1injector_1_1impl_1_1_injection_binding_a3ca26a76585aec0f570d2f917aabb900}{new \hyperlink{interfacestrange_1_1extensions_1_1injector_1_1api_1_1_i_injection_binding}{I\-Injection\-Binding} \hyperlink{classstrange_1_1extensions_1_1injector_1_1impl_1_1_injection_binding_a3ca26a76585aec0f570d2f917aabb900}{Named$<$ T $>$} ()}\label{classstrange_1_1extensions_1_1injector_1_1impl_1_1_injection_binding_a3ca26a76585aec0f570d2f917aabb900}

\begin{DoxyCompactList}\small\item\em Retrieve a binding if the supplied name matches, by Type. \end{DoxyCompactList}\item 
\hypertarget{classstrange_1_1extensions_1_1injector_1_1impl_1_1_injection_binding_a3af07a74892c7956ff5760bf8fbed158}{new \hyperlink{interfacestrange_1_1extensions_1_1injector_1_1api_1_1_i_injection_binding}{I\-Injection\-Binding} \hyperlink{classstrange_1_1extensions_1_1injector_1_1impl_1_1_injection_binding_a3af07a74892c7956ff5760bf8fbed158}{Named} (object o)}\label{classstrange_1_1extensions_1_1injector_1_1impl_1_1_injection_binding_a3af07a74892c7956ff5760bf8fbed158}

\begin{DoxyCompactList}\small\item\em Retrieve a binding if the supplied name matches, by value. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classstrange_1_1extensions_1_1injector_1_1impl_1_1_injection_binding_af6cf708f4406b68e831a9d0fa2aa4473}{bool {\bfseries Has\-Generic\-Assignable\-From} (Type key\-Type, Type obj\-Type)}\label{classstrange_1_1extensions_1_1injector_1_1impl_1_1_injection_binding_af6cf708f4406b68e831a9d0fa2aa4473}

\item 
\hypertarget{classstrange_1_1extensions_1_1injector_1_1impl_1_1_injection_binding_a3635e435c73df8ce9d205fda265265bd}{bool {\bfseries Is\-Generic\-Type\-Assignable} (Type given\-Type, Type generic\-Type)}\label{classstrange_1_1extensions_1_1injector_1_1impl_1_1_injection_binding_a3635e435c73df8ce9d205fda265265bd}

\end{DoxyCompactItemize}
\subsection*{Properties}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classstrange_1_1extensions_1_1injector_1_1impl_1_1_injection_binding_a915f5c97eceb69c2d893e8874cc255d1}{\hyperlink{namespacestrange_1_1extensions_1_1injector_1_1api_aaf5414484d7eccb5c502984bd70549ae}{Injection\-Binding\-Type} {\bfseries type}\hspace{0.3cm}{\ttfamily  \mbox{[}get, set\mbox{]}}}\label{classstrange_1_1extensions_1_1injector_1_1impl_1_1_injection_binding_a915f5c97eceb69c2d893e8874cc255d1}

\item 
\hypertarget{classstrange_1_1extensions_1_1injector_1_1impl_1_1_injection_binding_aeb55d17167b209c72042d67dee584070}{bool {\bfseries to\-Inject}\hspace{0.3cm}{\ttfamily  \mbox{[}get\mbox{]}}}\label{classstrange_1_1extensions_1_1injector_1_1impl_1_1_injection_binding_aeb55d17167b209c72042d67dee584070}

\item 
\hypertarget{classstrange_1_1extensions_1_1injector_1_1impl_1_1_injection_binding_ae1cd10550dbe5a828d1db86c40fb098d}{bool {\bfseries is\-Cross\-Context}\hspace{0.3cm}{\ttfamily  \mbox{[}get\mbox{]}}}\label{classstrange_1_1extensions_1_1injector_1_1impl_1_1_injection_binding_ae1cd10550dbe5a828d1db86c40fb098d}

\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}
The Binding for Injections. 

\begin{DoxySeeAlso}{See Also}
\hyperlink{interfacestrange_1_1extensions_1_1injector_1_1api_1_1_i_injection_binding}{strange.\-extensions.\-injector.\-api.\-I\-Injection\-Binding} 
\end{DoxySeeAlso}


The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
Strange\-Io\-C/scripts/strange/extensions/injector/impl/Injection\-Binding.\-cs\end{DoxyCompactItemize}
